﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LY.Manage.WebApp
{
    [Serializable]
    public class WsResult
    {
        private bool isSuccess = false;

        /// <summary>
        /// 标示方法是否执行成功
        /// </summary>
        public bool IsSuccess
        {
            get { return isSuccess; }
            set { isSuccess = value; }
        }


        private long t;
        /// <summary>
        /// 执行次过程所用的毫秒数
        /// </summary>
        public long T
        {
            get { return t; }
            set { t = value; }
        }

        private string msg = "";

        /// <summary>
        /// 提示信息
        /// </summary>
        public string Msg
        {
            get { return msg; }
            set { msg = value; }
        }


        private Object obj;

        /// <summary>
        /// 返回的结果数据
        /// </summary>
        public Object Obj
        {
            get { return obj; }
            set { obj = value; }
        }


        //private int rowNum;

        ///// <summary>
        ///// 采取分页数据时 返回行数
        ///// </summary>
        //public int RowNum
        //{
        //    get { return rowNum; }
        //    set { rowNum = value; }
        //}
    }
}